/*
 * 百度在线网络技术（北京）有限公司拥有本软件版权2021并保留所有权利。
 * Copyright 2021, Baidu.com,Inc 2:Baidu Online Network Technology (Beijing) Co.,Ltd,
 * All rights reserved.
 */

package com.azdebugit.factory.bean;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

import com.azdebugit.factory.bean.service.CalculateService;

@SpringBootApplication
public class YuanmayueduApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context= SpringApplication.run(YuanmayueduApplication.class, args);
        CalculateService calculateService=  context.getBean(CalculateService.class);
        calculateService.getResult("张三","王五");

    }

}
